import React, { Component } from 'react';
import { StackNavigator } from 'react-navigation';
import MainScreen from './MainScreen';
import ProfileScreen from './ProfileScreen';

const Navigator  = StackNavigator({
    Main: {screen: MainScreen},
    Profile: {screen: ProfileScreen}
});

/**
 * 导航，跳转页面
 */
export default class StackNavigatorMp extends Component {
    render(){
        return(
            <Navigator />
        )
    }
}
/**
 * 支持的颜色
 '#f0f' (#rgb)
 '#f0fc' (#rgba)
 '#ff00ff' (#rrggbb)
 '#ff00ff00' (#rrggbbaa)
 'rgb(255, 255, 255)'
 'rgba(255, 255, 255, 1.0)'
 'hsl(360, 100%, 100%)'
 'hsla(360, 100%, 100%, 1.0)'
 'transparent'
 'red'
 0xff00ff00 (0xrrggbbaa)
 */